package com.example.shop.model.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class GoodsSkuDTO {
    private String name;
    private List<SkuDTO> content;
    private boolean isOpen;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class SkuDTO {
        private boolean isChose;
        private String text;
        private String key;
        private String imgUrl;
    }
}
